const prefixProd = "https://gitee.com/suihan-y/devil-box/raw/master/devil-data";
const prefixDev = "http://127.0.0.1:3000";

/**
 * 返回爬虫抓取的资源源路径
 * @param name
 */
export function getCustomResourceUrl(name: string) {
  return `${__DEV__ ? prefixDev : prefixProd}${name}`;
}
